package com.ykun.shiro.chapter6.dao;

import com.ykun.shiro.chapter6.entity.Role;

/**
 * Created by yangkun on 2017/8/28.
 */
public interface RoleDao {

    public Role createRole(Role role);
    public void deleteRole(Long roleId);

    public void correlationPermissions(Long roleId, Long... permissionIds);
    public void uncorrelationPermissions(Long roleId, Long... permissionIds);

}
